package com.aaa.inside.service.impl;

import com.aaa.entity.inside.Inventory;
import com.aaa.entity.inside.InventoryLocator;
import com.aaa.entity.inside.InventoryLocatorDetail;
import com.aaa.inside.mapper.InventoryMapper;
import com.aaa.inside.service.InventoryService;
import com.aaa.vo.R;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author aaa
 * @since 2020-11-30
 */
@Service
public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory> implements InventoryService {
    @Override
    public List<InventoryLocatorDetail> selectDetailByInvNo(String inventoryno) {
        return this.baseMapper.selectDetailByInvNo(inventoryno);
    }

    @Override
    public List<Inventory> selectInv(Long warehouseid) {
        return this.baseMapper.selectInv(warehouseid);
    }

    @Override
    public List<InventoryLocator> selectLoByInvNo(String inventoryno) {
        return this.baseMapper.selectLoByInvNo(inventoryno);
    }
}
